def if_stmt1(x):
if x > 10:
return x
return 3
Function Call | Return Value | |||
---|---|---|---|---|
if_stmt1(5) | → | |||
if_stmt1(15) | → | |||
if_stmt1(0) | → | |||
if_stmt1(10) | → | |||
if_stmt1(13) | → | |||
if_stmt1(20) | → | |||
if_stmt1(3) | → |
Experiment with this code on Gitpod.io